#![feature(result_option_inspect)]
#![allow(unused)]

mod context;
mod model;
mod provider;

use common_core::{ServiceComponent, ServiceContextBuilder, ServicePlugin};

use provider::FormServiceContextBuilder;

#[no_mangle]
pub extern "C" fn loadFormServiceContextBuilder() -> *const Box<dyn ServiceContextBuilder> {
    let boxed: Box<Box<dyn ServiceContextBuilder>> =
        Box::new(Box::new(FormServiceContextBuilder::default()));
    Box::into_raw(boxed)
}
